
using AutoMapper;
using WebApp.Navigations;
using WebApp.Navigations.Dtos;

namespace WebApp.CustomDtoAutoMapper
{


    public class UiMenuMapProfile : Profile
    {
        public UiMenuMapProfile()
        {
            // Role and permission
            CreateMap<UiMenu, UiMenuListDto>();
            CreateMap<UiMenu, UiMenuEditDto>();
     
            CreateMap<UiMenu, UiMenuTreeDto>();
            CreateMap<UiMenuListDto, UiMenu>();
            CreateMap<UiMenuEditDto, UiMenu>();



        }
    }
}
